package com.xiaoshu.test;

import lombok.Setter;

/**
 * 功能说明：
 *
 * @ com.xiaoshu.test
 * <p>
 * Original @Author: deane.jia-贾亮亮,@2020/10/22@17:15
 * <p>
 * Copyright (C)2012-@2020 深圳优必选科技 All rights reserved.
 */
public abstract class BaseService<T extends TransServer> {
    @Setter
    private T t;

    public BaseService() {

    }


    public void startServer() {
        t.start();
    }

    public void stopServer() {
        t.stop();
    }
}
